package com.ljx.thread.thread01;

import com.ljx.thread.thread01.MyThread;

/**
 * @author LJX
 * @Description: TODO
 * @Date: 2022/10/31 9:45
 * @Version 1.0
 */
public class Test {
	public static void main(String[] args) {
		//
		MyThread myThread = new MyThread("dfnjsd");
		myThread.setName("hjds");
		myThread.start();


		for (int i = 0; i < 20; i++) {

			System.out.println(Thread.currentThread().getName()+"主线程main执行中"+i);
		}
	}
}
